/**
 * Copyright (C) 2011 KingCore Science & Technology CO,.LTD. All rights reserved.
 * XNS PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/**
 * Copyright (C) 2002-2011 WUZEWEN. All rights reserved.
 * WUZEWEN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * This software is the confidential and proprietary information of
 * WuZeven, Personal. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with WuZeven.
 */

package com.kingcore.director.core.bean;

import wzw.beans.IdNameEntity;
import wzw.util.TestUtils;


/**
 * <p>java类文件的说明...</p>
 * @author Zeven/wzw on Oct 28, 2011
 * @version	1.0
 * @see		Object#equals(java.lang.Object)
 * @since	JDK5
 */

public class TreeNodeBean implements IdNameEntity{

	@Override
	public String toString() { 
		return this.className;
	}
	/**
	 * <p>java方法的说明...</p>
	 * @author Zeven on Oct 28, 2011
	 * @param args
	 */
	public static void main(String[] args) {
		TestUtils.testAllMethod( TreeNodeBean.class );

	}
	private Integer classId = null;
	private String className=null; 
	private Integer pid=null;
	private Integer levelId=null;
	private Integer isLeaf;
	private Integer isBuiltin;
	private Integer orderId;
	public Integer getClassId() {
		return classId;
	}
	public void setClassId(Integer classId) {
		this.classId = classId;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	public Integer getLevelId() {
		return levelId;
	}
	public void setLevelId(Integer levelId) {
		this.levelId = levelId;
	}
	public Integer getIsLeaf() {
		return isLeaf;
	}
	public void setIsLeaf(Integer isLeaf) {
		this.isLeaf = isLeaf;
	}
	public Integer getIsBuiltin() {
		return isBuiltin;
	}
	public void setIsBuiltin(Integer isBuiltin) {
		this.isBuiltin = isBuiltin;
	}
	public Integer getOrderId() {
		return orderId;
	}
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	
	@Override
	public int getId() {
		return this.classId;
	}
	@Override
	public String getName() {
		return this.className;
	}
	@Override
	public void setId(int id) {
		this.classId = id;
	}
	@Override
	public void setName(String name) {
		this.className = name;
	}

}
